/**
 * 接口列表文件
 */
export default {
	
	/** 导出相关 ↓ **/
	index: {
		getAdsList: {
			url: "common/getAdsList",
			auth: true,
			method: "POST",
			// desc: '轮播图',
		},
		getNoticeList: {
			url: "common/getNoticeList",
			auth: true,
			method: "POST",
			// desc: '系统公告',
		},
		getNoticeDetails: {
			url: "common/getNoticeDetails",
			auth: true,
			method: "POST",
			// desc: '系统公告详情',
		},
		getGoodsListByRecommend: {
			url: "goods/getGoodsListByRecommend",
			auth: true,
			method: "POST",
			// desc: '获取推荐商品列表',
		},
		getGoodsList: {
			url: "goods/getGoodsList",
			auth: true,
			method: "POST",
			// desc: '获取抢购商品列表',
		},
		getActivityList: {
			url: "goods/getActivityList",
			auth: true,
			method: "POST",
			// desc: '获取首页活动'
		},
		getGoodsDetails: {
			url: "goods/getGoodsDetails",
			auth: true,
			method: "POST",
			// desc: '获取商品详情'
		},
		createOrderBySnapped: {
			url: "order_rob/snapped",
			auth: true,
			method: "POST",
			// desc: '抢购下单'
		},
		payMin: {
			url: "pay/min",
			auth: true,
			method: "POST",
			// desc: '微信支付'
		},
		posterShare: {
			url: "Poster/share",
			auth: true,
			method: "POST",
			// desc: '获取二维码'
		}
	},

	/** 用户 ↓ **/
	user: {
		smsSend: {
			url: "sms/send",
			auth: false,
			method: "POST",
			// desc: '发送验证码',
		},
		userRegister: {
			url: "user/register",
			auth: false,
			method: "POST",
			// desc: '注册'
		},
		usermobilelogin: {
			url: "user/mobilelogin",
			auth: false,
			method: "POST",
			// desc: '验证码登陆'
		},
		userLogin: {
			url: "user/login",
			auth: false,
			method: "POST",
			// desc: '账号密码登录',
		},

		userResetpwd: {
			url: "user/resetpwd",
			auth: false,
			method: "POST",
			// desc: '忘记密码',
		},
		savepassword: {
			url: "user/savepassword",
			auth: false,
			method: "POST",
			// desc: '修改密码',
		},
		profile: {
			url: "user/profile",
			auth: true,
			method: "POST",
			// desc: '修改个人信息'
		},

		logout: {
			url: "user/logout",
			auth: true,
			method: "POST",
			// desc: '退出登录'
		},
		profile: {
			url: "user/profile",
			auth: true,
			method: "POST",
			// desc: '修改个人信息'
		},
		getuserdetails: {
			url: "user/getuserdetails",
			auth: true,
			method: "POST",
			// desc: '用户信息'
		}
	},
	/** 积分相关 ↓ **/
	integral: {
		getGoodsListByIntegral: {
			url: "goods/getGoodsListByIntegral",
			auth: true,
			method: "POST",
			// desc: '获取积分商品列表'
		},
		buyNowConfirmOrder: {
			url: "Order/buyNowConfirmOrder",
			auth: true,
			method: "POST",
			// desc: '确认订单信息'
		},
		submitOrder: {
			url: "Order/submitOrder",
			auth: true,
			method: "POST",
			// desc: '创建订单'
		}
	},

	/** 地址 ↓ **/
	address: {
		addressLists: {
			url: "address/lists",
			auth: true,
			method: "POST",
			// desc: '地址列表'
		},
		addressAdd: {
			url: "address/add",
			auth: true,
			method: "POST",
			// desc: '添加地址'
		},
		setDefault: {
			url: "address/setDefault",
			auth: true,
			method: "POST",
			// desc: '设置默认地址'
		},
		setEdit: {
			url: "address/edit",
			auth: true,
			method: "POST",
			// desc: '编辑地址'
		}
	},
	/** 订单 ↓ **/
	orders: {
		getSnappedOrderList: {
			url: "order_rob/getSnappedOrderList",
			auth: true,
			method: "POST",
			// desc: '获取抢购订单列表'
		},
		getRobOrderDetails: {
			url: "order_rob/getOrderDetails",
			auth: true,
			method: "POST",
			// desc: '获取抢购积分订单详情'
		},
		getOrderDetails: {
			url: "order/getOrderDetails",
			auth: true,
			method: "POST",
			// desc: '获取抢购订单详情'
		},
		getMyStashList: {
			url: "order_rob/getMyStashList",
			auth: true,
			method: "POST",
			// desc: '获取我的仓库列表 寄售'
			// 0=仓库中,1=已上架,2=结算中,3=已卖出
		},
		upByConfirm: {
			url: "order_rob/upByConfirm",
			auth: true,
			method: "POST",
			// desc: '上架商品确认订单信息'
		},
		orderConfirm: {
			url: "order/confirm",
			auth: true,
			method: "POST",
			// desc: '积分详情确认收货'
		},
		orderRobConfirm: {
			url: "order_rob/confirm",
			auth: true,
			method: "POST",
			// desc: '普通商品确认收货'
		},
		applyShipping: {
			url: "order_rob/ApplyShipping",
			auth: true,
			method: "POST",
			// desc: '申请发货'
		},
	},
	other:{
		getMyCouponList: {
			url: "Coupon/getMyCouponList",
			auth: true,
			method: "POST",
			// desc: '获取优惠券列表'
		},
		getChildList: {
			url: "user/getChildList",
			auth: true,
			method: "POST",
			// desc: '我的邀请列表'
		},
		getMoneyLog: {
			url: "Money/getMoneyLog",
			auth: true,
			method: "POST",
			// desc: '获取余额(收益明细)明细'
		},
		getScoreLog: {
			url: "Money/getScoreLog",
			auth: true,
			method: "POST",
			// desc: '获取积分明细'
		},
		getOrderList: {
			url: "Order/getOrderList",
			auth: true,
			method: "POST",
			// desc: '获取积分订单列表'
		},
		editAccount: {
			url: "Money/editAccount",
			auth: true,
			method: "POST",
			// desc: '绑定收款账号'
		},
		getAccountDetails: {
			url: "Money/getAccountDetails",
			auth: true,
			method: "POST",
			// desc: '获取收款账号详情'
		},
		getAccountDetailsByAdmin: {
			url: "Money/getAccountDetailsByAdmin",
			auth: true,
			method: "POST",
			// desc: '获取平台收款账号'
		},
		getMyBill: {
			url: "order_rob/getMyBill",
			auth: true,
			method: "POST",
			// desc: '获取账单'
		},
		getBillNum: {
			url: "order_rob/getBillNum",
			auth: true,
			method: "POST",
			// desc: '我的结算数量'
		},
		uploadPayByBill: {
			url: "order_rob/uploadPayByBill",
			auth: true,
			method: "POST",
			// desc: '上传支付凭证'
		},
		confirmPay: {
			url: "order_rob/confirmPay",
			auth: true,
			method: "POST",
			// desc: '账单确认付款'
		},
		confirmUp: {
			url: "order_rob/up",
			auth: true,
			method: "POST",
			// desc: '商品上架创建订单'
		},
		getsystem:{
			url: "common/getsystem",
			auth: false,
			method: "POST",
			// desc: '系统设置		
		},
		getDefaultDetail:{
			url: "address/getDefaultDetail",
			auth: false,
			method: "POST",
			// desc: '获取默认地址		
		},
	}
};
